3.118 \(\int \frac{c+d x}{\left (a+b x^4\right )^2} \, dx\)

Optimal. Leaf size=241 \[ -\frac{3 c \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{16 \sqrt{2} a^{7/4} \sqrt [4]{b}}+\frac{3 c \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{16 \sqrt{2} a^{7/4} \sqrt [4]{b}}-\frac{3 c \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{8 \sqrt{2} a^{7/4} \sqrt [4]{b}}+\frac{3 c \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right )}{8 \sqrt{2} a^{7/4} \sqrt [4]{b}}+\frac{d \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{4 a^{3/2} \sqrt{b}}+\frac{x (c+d x)}{4 a \left (a+b x^4\right )} \]

[Out]

(x*(c + d*x))/(4*a*(a + b*x^4)) + (d*ArcTan[(Sqrt[b]*x^2)/Sqrt[a]])/(4*a^(3/2)*S
qrt[b]) - (3*c*ArcTan[1 - (Sqrt[2]*b^(1/4)*x)/a^(1/4)])/(8*Sqrt[2]*a^(7/4)*b^(1/
4)) + (3*c*ArcTan[1 + (Sqrt[2]*b^(1/4)*x)/a^(1/4)])/(8*Sqrt[2]*a^(7/4)*b^(1/4))
- (3*c*Log[Sqrt[a] - Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/(16*Sqrt[2]*a^(7/
4)*b^(1/4)) + (3*c*Log[Sqrt[a] + Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/(16*S
qrt[2]*a^(7/4)*b^(1/4))

_______________________________________________________________________________________

Rubi [A]  time = 0.440223, antiderivative size = 241, normalized size of antiderivative = 1., number of steps used = 14, number of rules used = 10, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.667 \[ -\frac{3 c \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{16 \sqrt{2} a^{7/4} \sqrt [4]{b}}+\frac{3 c \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{16 \sqrt{2} a^{7/4} \sqrt [4]{b}}-\frac{3 c \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{8 \sqrt{2} a^{7/4} \sqrt [4]{b}}+\frac{3 c \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right )}{8 \sqrt{2} a^{7/4} \sqrt [4]{b}}+\frac{d \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{4 a^{3/2} \sqrt{b}}+\frac{x (c+d x)}{4 a \left (a+b x^4\right )} \]

Antiderivative was successfully verified.

[In]  Int[(c + d*x)/(a + b*x^4)^2,x]

[Out]

(x*(c + d*x))/(4*a*(a + b*x^4)) + (d*ArcTan[(Sqrt[b]*x^2)/Sqrt[a]])/(4*a^(3/2)*S
qrt[b]) - (3*c*ArcTan[1 - (Sqrt[2]*b^(1/4)*x)/a^(1/4)])/(8*Sqrt[2]*a^(7/4)*b^(1/
4)) + (3*c*ArcTan[1 + (Sqrt[2]*b^(1/4)*x)/a^(1/4)])/(8*Sqrt[2]*a^(7/4)*b^(1/4))
- (3*c*Log[Sqrt[a] - Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/(16*Sqrt[2]*a^(7/
4)*b^(1/4)) + (3*c*Log[Sqrt[a] + Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/(16*S
qrt[2]*a^(7/4)*b^(1/4))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 74.7733, size = 231, normalized size = 0.96 \[ \frac{x \left (c + d x\right )}{4 a \left (a + b x^{4}\right )} + \frac{d \operatorname{atan}{\left (\frac{\sqrt{b} x^{2}}{\sqrt{a}} \right )}}{4 a^{\frac{3}{2}} \sqrt{b}} - \frac{3 \sqrt{2} c \log{\left (- \sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x + \sqrt{a} + \sqrt{b} x^{2} \right )}}{32 a^{\frac{7}{4}} \sqrt [4]{b}} + \frac{3 \sqrt{2} c \log{\left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x + \sqrt{a} + \sqrt{b} x^{2} \right )}}{32 a^{\frac{7}{4}} \sqrt [4]{b}} - \frac{3 \sqrt{2} c \operatorname{atan}{\left (1 - \frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}} \right )}}{16 a^{\frac{7}{4}} \sqrt [4]{b}} + \frac{3 \sqrt{2} c \operatorname{atan}{\left (1 + \frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}} \right )}}{16 a^{\frac{7}{4}} \sqrt [4]{b}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((d*x+c)/(b*x**4+a)**2,x)

[Out]

x*(c + d*x)/(4*a*(a + b*x**4)) + d*atan(sqrt(b)*x**2/sqrt(a))/(4*a**(3/2)*sqrt(b
)) - 3*sqrt(2)*c*log(-sqrt(2)*a**(1/4)*b**(1/4)*x + sqrt(a) + sqrt(b)*x**2)/(32*
a**(7/4)*b**(1/4)) + 3*sqrt(2)*c*log(sqrt(2)*a**(1/4)*b**(1/4)*x + sqrt(a) + sqr
t(b)*x**2)/(32*a**(7/4)*b**(1/4)) - 3*sqrt(2)*c*atan(1 - sqrt(2)*b**(1/4)*x/a**(
1/4))/(16*a**(7/4)*b**(1/4)) + 3*sqrt(2)*c*atan(1 + sqrt(2)*b**(1/4)*x/a**(1/4))
/(16*a**(7/4)*b**(1/4))

_______________________________________________________________________________________

Mathematica [A]  time = 0.396176, size = 224, normalized size = 0.93 \[ \frac{\frac{8 a^{3/4} x (c+d x)}{a+b x^4}-\frac{2 \left (4 \sqrt [4]{a} d+3 \sqrt{2} \sqrt [4]{b} c\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{\sqrt{b}}+\frac{2 \left (3 \sqrt{2} \sqrt [4]{b} c-4 \sqrt [4]{a} d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right )}{\sqrt{b}}-\frac{3 \sqrt{2} c \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{\sqrt [4]{b}}+\frac{3 \sqrt{2} c \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{\sqrt [4]{b}}}{32 a^{7/4}} \]

Antiderivative was successfully verified.

[In]  Integrate[(c + d*x)/(a + b*x^4)^2,x]

[Out]

((8*a^(3/4)*x*(c + d*x))/(a + b*x^4) - (2*(3*Sqrt[2]*b^(1/4)*c + 4*a^(1/4)*d)*Ar
cTan[1 - (Sqrt[2]*b^(1/4)*x)/a^(1/4)])/Sqrt[b] + (2*(3*Sqrt[2]*b^(1/4)*c - 4*a^(
1/4)*d)*ArcTan[1 + (Sqrt[2]*b^(1/4)*x)/a^(1/4)])/Sqrt[b] - (3*Sqrt[2]*c*Log[Sqrt
[a] - Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/b^(1/4) + (3*Sqrt[2]*c*Log[Sqrt[
a] + Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/b^(1/4))/(32*a^(7/4))

_______________________________________________________________________________________

Maple [A]  time = 0.007, size = 188, normalized size = 0.8 \[{\frac{cx}{4\,a \left ( b{x}^{4}+a \right ) }}+{\frac{3\,c\sqrt{2}}{32\,{a}^{2}}\sqrt [4]{{\frac{a}{b}}}\ln \left ({1 \left ({x}^{2}+\sqrt [4]{{\frac{a}{b}}}x\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) \left ({x}^{2}-\sqrt [4]{{\frac{a}{b}}}x\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) ^{-1}} \right ) }+{\frac{3\,c\sqrt{2}}{16\,{a}^{2}}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+1 \right ) }+{\frac{3\,c\sqrt{2}}{16\,{a}^{2}}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}-1 \right ) }+{\frac{d{x}^{2}}{4\,a \left ( b{x}^{4}+a \right ) }}+{\frac{d}{4\,a}\arctan \left ({x}^{2}\sqrt{{\frac{b}{a}}} \right ){\frac{1}{\sqrt{ab}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((d*x+c)/(b*x^4+a)^2,x)

[Out]

1/4*c*x/a/(b*x^4+a)+3/32*c/a^2*(a/b)^(1/4)*2^(1/2)*ln((x^2+(a/b)^(1/4)*x*2^(1/2)
+(a/b)^(1/2))/(x^2-(a/b)^(1/4)*x*2^(1/2)+(a/b)^(1/2)))+3/16*c/a^2*(a/b)^(1/4)*2^
(1/2)*arctan(2^(1/2)/(a/b)^(1/4)*x+1)+3/16*c/a^2*(a/b)^(1/4)*2^(1/2)*arctan(2^(1
/2)/(a/b)^(1/4)*x-1)+1/4*d*x^2/a/(b*x^4+a)+1/4*d/a/(a*b)^(1/2)*arctan(x^2*(b/a)^
(1/2))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d*x + c)/(b*x^4 + a)^2,x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: NotImplementedError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d*x + c)/(b*x^4 + a)^2,x, algorithm="fricas")

[Out]

Exception raised: NotImplementedError

_______________________________________________________________________________________

Sympy [A]  time = 2.41194, size = 155, normalized size = 0.64 \[ \operatorname{RootSum}{\left (65536 t^{4} a^{7} b^{2} + 2048 t^{2} a^{4} b d^{2} - 1152 t a^{2} b c^{2} d + 16 a d^{4} + 81 b c^{4}, \left ( t \mapsto t \log{\left (x + \frac{- 32768 t^{3} a^{6} b d^{2} - 4608 t^{2} a^{4} b c^{2} d - 512 t a^{3} d^{4} - 1296 t a^{2} b c^{4} + 360 a c^{2} d^{3}}{192 a c d^{4} - 243 b c^{5}} \right )} \right )\right )} + \frac{c x + d x^{2}}{4 a^{2} + 4 a b x^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d*x+c)/(b*x**4+a)**2,x)

[Out]

RootSum(65536*_t**4*a**7*b**2 + 2048*_t**2*a**4*b*d**2 - 1152*_t*a**2*b*c**2*d +
 16*a*d**4 + 81*b*c**4, Lambda(_t, _t*log(x + (-32768*_t**3*a**6*b*d**2 - 4608*_
t**2*a**4*b*c**2*d - 512*_t*a**3*d**4 - 1296*_t*a**2*b*c**4 + 360*a*c**2*d**3)/(
192*a*c*d**4 - 243*b*c**5)))) + (c*x + d*x**2)/(4*a**2 + 4*a*b*x**4)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.217511, size = 321, normalized size = 1.33 \[ \frac{3 \, \sqrt{2} \left (a b^{3}\right )^{\frac{1}{4}} c{\rm ln}\left (x^{2} + \sqrt{2} x \left (\frac{a}{b}\right )^{\frac{1}{4}} + \sqrt{\frac{a}{b}}\right )}{32 \, a^{2} b} - \frac{3 \, \sqrt{2} \left (a b^{3}\right )^{\frac{1}{4}} c{\rm ln}\left (x^{2} - \sqrt{2} x \left (\frac{a}{b}\right )^{\frac{1}{4}} + \sqrt{\frac{a}{b}}\right )}{32 \, a^{2} b} + \frac{d x^{2} + c x}{4 \,{\left (b x^{4} + a\right )} a} + \frac{\sqrt{2}{\left (2 \, \sqrt{2} \sqrt{a b} b d + 3 \, \left (a b^{3}\right )^{\frac{1}{4}} b c\right )} \arctan \left (\frac{\sqrt{2}{\left (2 \, x + \sqrt{2} \left (\frac{a}{b}\right )^{\frac{1}{4}}\right )}}{2 \, \left (\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{16 \, a^{2} b^{2}} + \frac{\sqrt{2}{\left (2 \, \sqrt{2} \sqrt{a b} b d + 3 \, \left (a b^{3}\right )^{\frac{1}{4}} b c\right )} \arctan \left (\frac{\sqrt{2}{\left (2 \, x - \sqrt{2} \left (\frac{a}{b}\right )^{\frac{1}{4}}\right )}}{2 \, \left (\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{16 \, a^{2} b^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d*x + c)/(b*x^4 + a)^2,x, algorithm="giac")

[Out]

3/32*sqrt(2)*(a*b^3)^(1/4)*c*ln(x^2 + sqrt(2)*x*(a/b)^(1/4) + sqrt(a/b))/(a^2*b)
 - 3/32*sqrt(2)*(a*b^3)^(1/4)*c*ln(x^2 - sqrt(2)*x*(a/b)^(1/4) + sqrt(a/b))/(a^2
*b) + 1/4*(d*x^2 + c*x)/((b*x^4 + a)*a) + 1/16*sqrt(2)*(2*sqrt(2)*sqrt(a*b)*b*d
+ 3*(a*b^3)^(1/4)*b*c)*arctan(1/2*sqrt(2)*(2*x + sqrt(2)*(a/b)^(1/4))/(a/b)^(1/4
))/(a^2*b^2) + 1/16*sqrt(2)*(2*sqrt(2)*sqrt(a*b)*b*d + 3*(a*b^3)^(1/4)*b*c)*arct
an(1/2*sqrt(2)*(2*x - sqrt(2)*(a/b)^(1/4))/(a/b)^(1/4))/(a^2*b^2)